import Main from "@/components/main";

export default [
  {
    path: "/device-install",
    name: "device-install",
    meta: {
      icon: "logo-buffer",
      title: "设备管理"
    },
    component: Main,
    children: [
      {
        path: "/sim-import",
        name: "sim-import",
        meta: {
          icon: "logo-buffer",
          title: "sim卡导入"
        },
        component: resolve =>
          void require(["@/view/device/sim-import/simTable.vue"], resolve)
      },
      {
        path: "/reg-record",
        name: "reg-record",
        meta: {
          icon: "logo-buffer",
          title: "参数设置"
        },
        component: resolve =>
          void require([
            "@/view/device/register-record/registerRecord.vue"
          ], resolve)
      },
      {
        path: "/arrange-installCode",
        name: "arrange-installCode",
        meta: {
          icon: "logo-buffer",
          title: "配置位号编码"
        },
        component: resolve =>
          void require([
            "@/view/device/arrange-installCode/installCode.vue"
          ], resolve)
      },
      {
        path: "/work-config",
        name: "work-config",
        meta: {
          icon: "logo-buffer",
          title: "工作状态设置"
        },
        component: resolve =>
          void require(["@/view/device/work-config/workConfig.vue"], resolve)
      },
     
      {
        path: "/send-his",
        name: "send-his",
        meta: {
          icon: "logo-buffer",
          title: "下发历史"
        },
        component: resolve =>
          void require(["@/view/device/send-his/sendHis.vue"], resolve)
      }
    ]
  }
];
